import http from '@/utils/request'

//
export default {
  // 实战比拼人员得分详情
  cpScoreDet: params => http.get('/actualCompetition/scoreDetail/{actualScoreId}', params),

  // 实战比拼人员得分删除
  cpScoreDel: params => http.delete('/actualCompetition/scoreDelete/' + params),

  // 实战比拼人员得分新增
  cpScoreAdd: data => http.postJson('/actualCompetition/scoreAdd', data),

  //
  // 实战比拼人员得分导入
  cpScoreImp: (data) => http.postJson('/actualCompetition/scoreImport', data),

  // 实战比拼人员得分列表
  cpScoreList: data => http.postJson('/actualCompetition/scoreList', data),

  // 实战比拼人员得分修改
  cpScoreEdit: data => http.putJson('/actualCompetition/scoreEdit', data),

  // 实战比拼人员得分发布(批量)
  cpScorePub: data => http.putJson('/actualCompetition/scorePublish/batch', data),
  download: () => http.get('/actualCompetition/exportTemplateDownload')
}
